package com.codingfuture.erp_system.service;

import com.codingfuture.erp_system.dto.MarketDetailDto;
import com.codingfuture.erp_system.dto.MarketDto;
import com.codingfuture.erp_system.entity.Role;
import com.codingfuture.erp_system.entity.Supplier;

import java.util.Date;
import java.util.List;

public interface MarketService {
    List<MarketDto> findByAll();

    List<MarketDetailDto> findMarketDetailDto(long uuid);

    List<Supplier> showSupplier(Integer type);

    int addMarketDetail(List<MarketDetailDto> marketDetails);

    int addById(MarketDto marketDto);

    Boolean doOutStore(Integer id, Date date, Integer storeuuid);

    Role findId(Object name);
}
